package com.tianbing.adlottery.util;

import java.util.Date;

import org.springframework.web.multipart.MultipartFile;

import com.jubao.ejb.entity.Category;
import com.jubao.ejb.entity.Coupon;
import com.jubao.ejb.entity.CouponItem;
import com.jubao.ejb.entity.Product;
import com.jubao.ejb.entity.ProductPrice;
import com.jubao.ejb.entity.Store;
import com.jubao.ejb.entity.User;
import com.jubao.ejb.entity.UserWebsite;
import com.jubao.ejb.entity.Website;

public class ControllerFormBean {

	private Long sysId;

	private long userSysId;

	private Integer newItemNum;

	private String partyId;

	private String firstName;

	private String lastName;

	private String nickName;

	private String emailAddr;

	private String oldPassword;

	private String password;

	private String confirmPassword;

	private String tips;

	private String comment;

	private String relationType;

	private Store store;

	private User user;

	private Product product;

	private Category category;

	private CouponItem couponItem;

	private String categoryId;

	private String forwardAction;

	// for file upload
	private MultipartFile logoImage;

	private MultipartFile smallImage;

	private MultipartFile mediumImage;

	private MultipartFile largeImage;

	private Date startDate;

	private Date endDate;

	private ProductPrice productPrice;

	private UserWebsite userWebsite;

	private Website website;

	private Coupon coupon;

	public Coupon getCoupon() {
		return coupon;
	}

	public void setCoupon(Coupon coupon) {
		this.coupon = coupon;
	}

	public String getConfirmPassword() {
		return confirmPassword;
	}

	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}

	public String getEmailAddr() {
		return emailAddr;
	}

	public void setEmailAddr(String emailAddr) {
		this.emailAddr = emailAddr;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getForwardAction() {
		return forwardAction;
	}

	/**
	 * @return the website
	 */
	public Website getWebsite() {
		return website;
	}

	/**
	 * @param website the website to set
	 */
	public void setWebsite(Website website) {
		this.website = website;
	}

	public void setForwardAction(String forwardAction) {
		this.forwardAction = forwardAction;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPartyId() {
		return partyId;
	}

	public void setPartyId(String partyId) {
		this.partyId = partyId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTips() {
		return tips;
	}

	public void setTips(String tips) {
		this.tips = tips;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Long getSysId() {
		return sysId;
	}

	/**
	 * @return the oldPassword
	 */
	public String getOldPassword() {
		return oldPassword;
	}

	/**
	 * @param oldPassword the oldPassword to set
	 */
	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}

	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}

	public long getUserSysId() {
		return userSysId;
	}

	public void setUserSysId(long userSysId) {
		this.userSysId = userSysId;
	}

	public Integer getNewItemNum() {
		return newItemNum;
	}

	public void setNewItemNum(Integer newItemNum) {
		this.newItemNum = newItemNum;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getRelationType() {
		return relationType;
	}

	public void setRelationType(String relationType) {
		this.relationType = relationType;
	}

	public Store getStore() {
		return store;
	}

	public void setStore(Store store) {
		this.store = store;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public CouponItem getCouponItem() {
		return couponItem;
	}

	public void setCouponItem(CouponItem couponItem) {
		this.couponItem = couponItem;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public MultipartFile getLogoImage() {
		return logoImage;
	}

	public void setLogoImage(MultipartFile logoImage) {
		this.logoImage = logoImage;
	}

	public MultipartFile getSmallImage() {
		return smallImage;
	}

	public void setSmallImage(MultipartFile smallImage) {
		this.smallImage = smallImage;
	}

	public MultipartFile getMediumImage() {
		return mediumImage;
	}

	public void setMediumImage(MultipartFile mediumImage) {
		this.mediumImage = mediumImage;
	}

	public MultipartFile getLargeImage() {
		return largeImage;
	}

	public void setLargeImage(MultipartFile largeImage) {
		this.largeImage = largeImage;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public ProductPrice getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(ProductPrice productPrice) {
		this.productPrice = productPrice;
	}

	/**
	 * @return the userWebsite
	 */
	public UserWebsite getUserWebsite() {
		return userWebsite;
	}

	/**
	 * @param userWebsite the userWebsite to set
	 */
	public void setUserWebsite(UserWebsite userWebsite) {
		this.userWebsite = userWebsite;
	}

}